package ru.evga.inse.core.service;

import ru.evga.inse.core.exception.InfoseaException;

public class ServiceException
    extends InfoseaException
{
    private static final String PREFIX = "core.service.err.";
    /**
     * Dao ''{0}'' not found
     */
    public final static String IDS_DAO_NOT_FOND = "daoNotFound";
    /**
     * Service ''{0}'' not found
     */
    public final static String IDS_SERVICE_NOT_FOND = "serviceNotFound";

    /**
     * Service map is null
     */
    public final static String IDS_SERVICE_MAP_IS_NULL = "serviceMapIsNull";
    
    
    
    public ServiceException(String errorIds)
    {
        super(errorIds);
    }

    public ServiceException(String errorIds, Object arg)
    {
        super(errorIds, arg);
    }
    
    public ServiceException(String errorIds, Object[] args)
    {
        super(errorIds, args);
    }
    
    @Override
    protected String getPrefix()
    {
        return PREFIX;
    }
}
